package com.satchi.hib.pojo;

import java.math.BigDecimal;
import java.util.List;

public class Invoice {
	private String customer;
	private BigDecimal begin;
	private BigDecimal end;
	private BigDecimal balanceSt;
	private BigDecimal receiptSt;
	private List<Invoice.MonthTotalItem> balanceSts;
	private List<Invoice.MonthTotalItem> receiptSts;
	public String getCustomer() {
		return customer;
	}
	public void setCustomer(String customer) {
		this.customer = customer;
	}
	public BigDecimal getBegin() {
		return begin;
	}
	public void setBegin(BigDecimal begin) {
		this.begin = begin;
	}
	public BigDecimal getEnd() {
		return end;
	}
	public void setEnd(BigDecimal end) {
		this.end = end;
	}
	public BigDecimal getBalanceSt() {
		return balanceSt;
	}
	public void setBalanceSt(BigDecimal balanceSt) {
		this.balanceSt = balanceSt;
	}
	public BigDecimal getReceiptSt() {
		return receiptSt;
	}
	public void setReceiptSt(BigDecimal receiptSt) {
		this.receiptSt = receiptSt;
	}
	public List<MonthTotalItem> getBalanceSts() {
		return balanceSts;
	}
	public void setBalanceSts(List<MonthTotalItem> balanceSts) {
		this.balanceSts = balanceSts;
	}
	public List<MonthTotalItem> getReceiptSts() {
		return receiptSts;
	}
	public void setReceiptSts(List<MonthTotalItem> receiptSts) {
		this.receiptSts = receiptSts;
	}
	
	public class MonthTotalItem{
		public MonthTotalItem(String month, BigDecimal totalValue){
			setMonth(month);
			setTotalValue(totalValue);
		}
		private String month;
		private BigDecimal totalValue;
		public String getMonth() {
			return month;
		}
		public void setMonth(String month) {
			this.month = month;
		}
		public BigDecimal getTotalValue() {
			return totalValue;
		}
		public void setTotalValue(BigDecimal totalValue) {
			this.totalValue = totalValue;
		}
	}
}
